import java.util.Arrays;
import java.util.Scanner;

/**
 * @ClassName LanQiao
 * @Description
 * @Author ZJX
 * @Date 2025/3/27 18:56
 * @Version 1.0
 **/
public class LanQiao {

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int n = scan.nextInt();
        int q = scan.nextInt();
        for (int i = 0; i < n; i++) {
            int a = scan.nextInt();
        }
        scan.close();
    }

    public boolean lemonadeChange(int[] bills) {
        if(bills[0] == 10 || bills[0] == 20){
            return false;
        }
        int five = 1;
        int ten = 0;
        for (int bill : bills){
            if (bill == 5){
                five++;
                continue;
            } else if (bill == 10) {
                if (five == 0){
                    return false;
                }
                five--;
                ten++;
            } else {
                if(five > 0 && ten > 0){
                    five--;
                    ten--;
                } else if (five >= 3) {
                    five-=3;
                } else return false;
            }
        }
        return true;
    }



}
